<?php

namespace app\index\controller;

use tests\thinkphp\library\think\logTest;
use think\Controller;
use think\Db;

/**
 * 支付回调类
 **/
class Plan extends Controller
{
    public function doExpireOrder()
    {
        Db::name('order')->where(['status' => 2, 'expire_time' => ['elt', time()], 'is_del' => 0, 'days' => ['gt', 0]])->setField('status', 3);
    }
}